Added methods to main page