adding a check for fullName in the post and put route for /api/*