Add Unauthorized status in Json/http response
json login method added
Update of the authorization response process