create login page with controller