Cleaned up log in

Added custom error messages for logging in.
Handled case: users cannot look at other users' dashboard.