Changed syntax in posts controller
Added Users model
Added validation to Users model
Added index to Users model