Added user service
Added credentials header
Validate pin with api / show register form
Show error when the PIN is invalid
Added service to register user