refactored user reg and implemented max_text_message_limit?