Add conditional to check for devise