merge
Rewrite authentication
bug fix
Merged