fixed alot of small login issues