adding login ability