Merge registration script into account page

+ add new rule