change colour to green when login was successful