Added Login class, DAO and controller