Updating Login class