user creation and sessions functionality working