added login connection to login and members