added details
added connectToDbase function
cleanedup
created POST variables
added connectToDbase function