implemented index, new, create, show actions for users