modify style sheet and interface of Gallery
fix a bug caused by empty user name field
fix a bug caused by empty user name field