fixed login bugs and regex for validation of a review

fixing bugs and added new functionality to the review