Implemented standard auth a la devise