This method is violating some principles of programming, basically it's doing two things very different and the things doesn't have connection between them.

if you need authenticate user you should add another filter before the verify_tema (BTW, you have a type there, verfify --> verify)

```before_filter :authenticate_user!```