added validation on signIn error, added loading interceptor, refactored authentication