Base setu

Created config and functions file.
created user validation function.