Added new stuff - logout function, login messages