Some tidy login js code a bit
Reinstate login overlay css