Improving User model.
Fixxing error in .or().
Fixing error in User madel method.
Fixed permission problem on public files. Using dirty fix until I got a better idea.