Added devise authentication and mongo_mapper