added proper smartcard authentication width user, and removed unnessasary libraries