improve authentication and some css style