Added login functionlity to setup of tests.
Ui test for checking if login has been successful or not.