Updated Homepage

@mosic 
I did this because there is difficult to read IF-ELSE-END.