Implemented CAS log-in from external form