Hacky Fix for Login Script