public async Task <User> SendFriendRequest(string friendName) { if (loginService.LoggedIn) { return(await friendService.AddFriendByName(friendName)); } else { return(null); } }