Version 2.5

1. added screensize to database by storing screensize in a cookie
2. redesigned the home controller, so that the database operation is
done through ajax after the page load