Added private boolean to user
Added login option to index