Implemented Devise

implemented devise and made some stuff prettier