Added functionality and tests for login; condensed JS for register and login
Merge branch 'master' of https://github.com/lexloren/E99-Language-Learning