Update SessionsController and associated helpers to get closer to a functioning login system.