basic functionality for ratings and andriod devise