adding partial for logout and implementation to index and profile