changed program to not end after user logs out