Add css in static files, refactor the code and modify login of users