finished category sort function

cleaned up other bits
started delete account function
did some more styling stuff