added tests for checking correct username and password