Login Continued

Checking for user role and redirecting accordingly.
Checking companies linked to user.