corrected a mistake in the login function
updated the star rating system and added a script block