Fix the bug with login. Syncing with server now really easy with the help of sublime text sftp module. Fix the bug with not register properly due to creating another thrash folder inside hmtl mail module. Delete the folder fix the problem