add candidate and user feature validations
fix candidate pages tests
add authentication test
refactor user tests and validations