New login page

And minor modifications