SELECT DISTINCT Users.PasswordQuestion, Users.Ugroup, Users.UserStatus, Users.MailDir, Users.Forward, Users.AutoReply, Users.UserQuota, Users.id AS userId, Abook.*, UserSession.Password, UserSettings.MailServer
                                            FROM Users
                                            LEFT JOIN Abook ON Users.Account=Abook.Account
                                            LEFT JOIN UserSession on Users.Account = UserSession.Account
                                            LEFT JOIN UserSettings on Users.Account = UserSettings.Account
                                            WHERE Abook.Global='1'   AND Users.id=1