added ability to delete messages. inbox view now also checks to see if user's inbox is empty.