finished filter functionality
fixed various bugs; logging in now works hurrah