Refactor server code to only accept authenticated users