Views and controller updated for authentication and registration