added signup handling