added the first part of devise