Added alert for empty username or password