Add Logout option and custom js modification