Added login controls