login + templating

Signed-off-by: KL <karim.lahouague@esprit.tn>