Variable naming convention, user history retrieval
Added new lines for readability
Closed #20