redirect to homepage if not logged in
resolve conflict