add login/out
resize sample image