added prettier log in