adding login feature