refactor static_pages spec and create application helper spec
add user validations
add password digest