added error message, with timer, to login.
added register link in navbar