Added db methods for get_user_by_username, get_user_by_session_id, and create_session