Refactored user routes and cleaned up formatting.