added devise user registration and update