Added simple login

Added a login, fixed some routing issues. The homepage doesn't update
when the user first submits the new posting so we need to fix that.