cleaning in sql scripts and added register button on login page;
refactored images retriever function for current advert;