Unit test 2 application helper methods
Refactoring and small fixes of application_helper methods, application_controller database not fount exception fix and registration form refactor