use rewrite module, update mobile part with two methods /mobile/register /mobile/login