fix issue and remove devise gem