Can disable automatic group creation, given name shows up, logout with one click

I had trouble with given name showing up, so I think I found the culprit.

Also, I added an option which would disallow automatically creating user group.

To log out, one has to click twice with the current set up. This is counter-intuitive as most websites logs you out with no further confirmation. 

I'm trying to add some fields for editing such as 'mail', 'telephonenumber'. I have added them in various php files and the SQL db under 'language' table with no success. Here's what I have so far: https://github.com/rickeywang/ldapauthmanager/tree/more_params 
any pointers would be appreciated!

Thanks.