Added error to login page

Added logout link
Added pagemetadata to more account pages