added current middle code for njit auth

added the current code for the middle