1) Are you sure that you dont have error notification turned off in PHP?
2) Perhaps you need to free your current mysqli resource, as you may be getting an unfreed cursor state.
3) Users in line 50 is not users in line 79 :-/
As a note of concern, though... sanitize your data. It's very rare that you should allow direct POST values to be inserted into your database without cleaning it all up, even though "prepare" does protect against a lot of vectors of attack, doing some additional type checking and sanitizing before hand will save you headaches down the road.