LOGIN AND HOMEPAGE NOW WORK