added the log out action and re-designed the community selection activity