public override async Task <PlayerCurrentGamesResponse> GetPlayerCurrentGames(PlayerCurrentGamesRequest request, ServerCallContext context)
        {
            RedisUserModel user = context.UserState["user"] as RedisUserModel;

            if (user == null)
            {
                return new PlayerCurrentGamesResponse()
                       {
                           Status = ResponseFactory.createResponse(ResponseType.UNAUTHORIZED)
                       }
            }
            ;

            PlayerCurrentGamesResponse currentGameResponse = new PlayerCurrentGamesResponse();
            List <Room> rooms = (await user.GetActiveRooms()).ConvertAll(it => it.asRoom().Result);

            currentGameResponse.Games.AddRange(rooms);
            currentGameResponse.Status = ResponseFactory.createResponse(ResponseType.SUCCESS);
            return(currentGameResponse);
        }