Some initial setup for the login script