fix for exiting from login activity