added views and controller methods for local login with email and password