updating schema and adding login button