preliminary setup for user auth