Parsley2 + API login

@guillaumepotier to review