add backend function for front page
Merge pull request #3 from bondanherumurti/master

add backend function for front page