adding logincontroller