Added devise, user model & session handling