messages not embedding and login bugs fixed