starting login controller