before_filter sign in and login

before_filter sign in and login