Bugfix

Fixed bug with exit from activity on unsucessful login