added function/div/style for displaying either login or past order