fixed login bug, i think...
really fixed the login bug this time
seperated account functions to a module
Merge pull request #8 from bboland4/master

fixed log in bug and separated account functions to a module