comment registration and modify devise session
fixed error