added functional testing for login page