added more admin options, and user editing

Added change admin status function and admin ability to update user
details
Also moved main functions file
added in active column to users and added in logging in validation for
activated users