updated some php methods and changed the signup form. also introduced the redirector for custom invite codes.