Adds a login page to HTML client
Corrects a remaining bug of the previous commit