migrated login/register to angular; deprecated invitation codes and recaptcha; code cleanup; minor fixes