Modified the rules for user creation. Secured against dangerous signs
Added csrf filter to secure against xss attack on user creation
Added errors variable to display errors