developments authentication
Some bugfix