added devise_invitable, changes to index and show pages