added Timer to display error message in Login.java