adding login page
tidy things up