add view and controller login and registration