Refactored security service.
Removed account, admin, and auth routes from server-side.