Added devise authentication.