add before_filter to /login
move login to index