merging controllers and models for users and url shortener