main: move AuthSessionName to main
user: use GetUser to check if a user is already in the database
user: extract AddUser functionality into its own function
user: extract authentication logic from user signin