login directs to inventory page