added basic authentication with devise