refactored register method
added password helper
added usage of Url helper
refactoring
refactored rules and scenarios