finalising login page