setup user creation and login authentication