Username and password now set in the main function and time until timeout increased to 300.