add devise to authenticate and register user