authenticate helper
login errors helpers and views