login contoller and service