Updated api failure status
updated devise config to auth with username: