added logout and invalid credentials page