added logout function, added password change function for users, edit a bit the display of buttons once a user has logged in