added signup; better session managements