Refactor server-side to use new model
Remove old authentication