fix authentication for user login check, maybe do it in a better way future?