changed passing current_user each time by setting settings.current_user for use in views