Working devise registration and session
getting data from database
Working data