making GUI auth