Implement register, sign in and sign out by devise