Updated authenticateToken with valid username from the database instead of static one.