Login template improved