adding login required