Edited the login script so a new window isn't opened.