user login and program saving