Re-wrote authentication and cleaned up registration and login controllers.