fixed problem in post login processing of api info in application controller.fetch_user. Added exception, error messages and backtrace