Added authentication with devise