adding login support