Registration and Login Working
fixed login bug and added directory creation