Extension Construction

Login+Ref submission appears to be working. This could probably use some
cleaning up.