add login controller