made users login and sign up
added before filter