Make "login" conditional fixes #9, fixes #7

Add conditional to the login button to redirect to the company page if logged in.