fixed research save, login issues, got tests working again
Merge pull request #46 from enilsen16/bugfixing

Fixed research save and login issues. Tests are now back to passing.