made changes to the Login activity, fixed some bugs with it