updating controllers for authentication