Added authentication state to app; pages will redirect based on whether user is authenticated. Users redirected to home page after succesfull log-in/register