Resolved devise error