Made publications reject users without a profile.

Also moved forms into separate files.