Added instructor log-in ajax support