Update sessionscontroller to allow for proper saving of credentials. Reimplement creation by wrapping create function from Mongoid