code review for the main activity

reviewing the code and make the login activity in the same activity of
the main