Modified facebook login and training controller