updated inbox class and db connection
fixed merge