Fixes semicolons; creates user in before block which is more proper