RFR Votes bugfix

Added logic to prevent voting while not logged in. 
Added test for voting while not logged in.