Implemented devise changes