More in-depth implementation, Integration with SimpleAuth