add scaffold user and login function