Added auth framework and implemented validation

need to integrate with phpBB for next step
Basic phpBB integration