added partial for register; added login controller