Added login controller