add authorship flags in paper creation. Also update rails for security hole