went through devise, lots of errors to watch out for