Added front end and back end OAuth page listeners.