Added signup page and fixed some login bugs