pub fn create_user_and_session( username: &str, password_bytes: Vec<u8>, duration_secs: u64, ) -> Result<String>