added setup for login controller