Finished authentication
Some little session improvements
Added user groups and rights