Added login UI validation