finish up devise functionality