public async Task <ActionResult <PublicUser> > GetPublicUser(string username)
        {
            var user = await _context.GetUserByUsername(username);

            return(new PublicUser()
            {
                Username = user.Username,
                RegDate = user.RegDate
            });
        }