Adding login logout functionality + POST RATE NOW