How do you know that connection is very slow?
Usually, developers put LOTS of code after login event and that is why users blame you that your database is very slow. In that case everyone think that connection is slow, but it just loading initialization data which might be very big at the begining, when data have loaded application begin work as normal.