Added forgoten update after login, removed unneccesary prints.