login broke. js not working correctly.
Merge pull request #3 from vnikiten01/swap

login broke. js not working correctly.