Added Categories Tab and edited necessary code