Function to authenticate a user with TUSC
use jsub
add all other files that weren't finished