Flawed register post to database