Schema builder mod + debug button removed

Modded Schema builder, corrected down() statement to handle foreign
keys.

Removed "Sort" button on post/index view, this was a coding helper tool
for div sorting based on votecount
added authentication check before registering user