Getting devise permissions to work