stage 1 - login an server