Clean up + fix bug retrieving wrong comments
Merge branch 'Danny'
Added login dialog

User login is working, but need to test session persistence.
Merge branch 'Danny'