Fixed crash caused by empty response type not being NSData

Signed-off-by: Gabriel Boucher <gabriel@agenceamiral.com>
Fixed user not saving its data in archive file and infinite calling loop

Signed-off-by: Gabriel Boucher <gabriel@agenceamiral.com>
Refactored sign-in API path to new URL scheme

Signed-off-by: Gabriel Boucher <gabriel@agenceamiral.com>
Refactored sign-in request body to use username instead of email parameter

Signed-off-by: Gabriel Boucher <gabriel@agenceamiral.com>
Added validation to setters

Signed-off-by: Gabriel Boucher <gabriel@agenceamiral.com>
Added logoutWithBlock method and refactored the current logout method

Signed-off-by: Gabriel Boucher <gabriel@agenceamiral.com>
Merge pull request #1 from curelator/master

A few bugfixes and refactored methods