fixed html validation errors. No more horizontal bars in css
The case of no profile being created by the user taken into account