getLogin controller and fake database implemented