redirect index to projects if user is logged in, take logged out users to index