added ssl
fix nav and alot of work on messaging system