Fixing issue where response status from server was not being checked
Resolving merge