How to make sure your side job isn't breaking any laws