added sessions and validations for user

should have done the commit a while ago. the nav is not complete yet because i cant check my paths yet.