Login now working

But still some internal reading troubles
Merge pull request #226 from CODeRUS/wauth2

Login now working