First working version with login

Signed-off-by: Vincent Fournié <vincent.fournie@epyx.ch>