Added devise authentication