Redirect to the current page after login or logout
More foundations and login in modal