Added service dir and modified login controller