fixed bug that shows both login fail message and takes to the add entry activity