add character restriction for login/subscribe