implemented backend exponential delay
fixed some login bugs