Added directive submit-on-enter to login mode
Fixed issue with form double submitting