Implemented some of Devise