working on validations for sign-up
fix broken tests which are caused by fast restart refactoring
add function to check id duplication