fix tracker error and bonus admin error

1st error: tracker send 500 HTTP error while seeding a torrent and
tracker refresh
2nd error: while try adding bonus to a user the admin logged out with
error