Adding login controls