Added vote enitity and user authentication

Added vote enitity and user authentication